package cn.gson.crm.model.dao;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import cn.gson.crm.model.entity.Emp;

@Repository
public interface EmpDao  extends CrudRepository<Emp, Long>{

	Emp findByName(String deptManager);

	Iterable<Emp> findByDeptName(String name);

	Iterable<Emp> findByRemark(String string);

}
